package com.czl.base.data.source.tengyun

import com.czl.base.base.BaseBean
import com.czl.base.data.bean.tengyun.*
import io.reactivex.Observable

interface TengyunDateSource {
    fun getNoticeList(
        pageNo: Int,
        pageSize: Int,
        releaseType: Int,
        neighId: String
    ): Observable<BaseBean<NoticeListBean>>
    fun updaReadingVolumeById(
        announcementId: Int
    ): Observable<BaseBean<NoticeListBean>>
    fun selectAnnouncementById(
        announcementId: Int
    ): Observable<BaseBean<NoticeListBean.Data>>
    fun selectHealthyAll(
        pageNo: Int,
        pageSize: Int,
        userId: Int,
        neighId: Int,
    ): Observable<BaseBean<HealthReportBean>>
    fun getAreaByUser(
        id: Int
    ): Observable<BaseBean<HealthUserBean.Data>>
    fun selectHealthyAndRelativesById(
        healthyId: Int
    ): Observable<BaseBean<HealthReportBean.Data>>
    fun addHealthReport(params: HealthReportBean.Data): Observable<BaseBean<Any?>>
    /**
     * 查询缴费账单
     * type: 缴费类型
     */
    fun getBillByRoomIdList(
        tUserId: Int,
        payStatus: Int,
        roomIdList : List<String>
    ): Observable<BaseBean<HousesPaymentBean>>
    /**
     * 查询缴费账单详情
     * type: 缴费类型
     */
    fun getDetailsByBillId(
        billId: Int
    ): Observable<BaseBean<PaymentData>>
    /**
     * 查询缴费账单详情
     * type: 缴费类型
     */
    fun payChdBill(
        paramsJson: String
    ): Observable<BaseBean<HouseOrderPayBean>>
}